<template>
	<view class="message">
		<view class="message_system">
			<view class="message_system_content">
				{{data.msg}}
			</view>
			<view class="message_system_desc">
				{{data.tips}}
			</view>
			<view class="message_system_footer">
				<view class="message_system_footer_left">
					系统消息
				</view>
				<view class="message_system_footer_right">
					<rui-icons icon="answer" size="36"></rui-icons>
				</view>
			</view>
		</view>
	</view>
</template>

<script setup>
	defineProps({
		data: Object
	})
</script>

<style lang="scss" scoped>
	.message {
		margin: 40rpx 20rpx;

		&_system {
			background: #fff;
			padding: 30rpx;
			border-radius: 10rpx;

			&_content {
				color: #f00;
				font-weight: bold;
			}

			&_desc {
				font-size: 24rpx;
				color: #999;
				margin-top: 10rpx;
			}

			&_footer {
				margin-top: 30rpx;
				display: flex;
				justify-content: space-between;
				align-items: center;

				&_left {
					font-size: 22rpx;
					background: #eee;
					padding: 4rpx 20rpx;
					border-radius: 30rpx;
					color: #666;
				}

				&_right {}
			}
		}


	}
</style>